home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / gnu / textutl3.lha / textutils-1.3 / README < prev    next >
Text File  |  1992-06-29  |  4KB  |  76 lines

  1. These are the GNU text file processing utilities.  Most of these
  2. programs have significant advantages over their Unix counterparts,
  3. such as greater speed, additional options, and fewer arbitrary limits.
  4.  
  5. To compile these programs:
  6.  
  7. 1.  At the top level (the directory this README is in), type
  8. `./configure'.  This shell script attempts to guess correct values for
  9. various system-dependent variables used during compilation, and
  10. creates the Makefiles.  This takes minute or so.
  11. On Ultrix 4.2, you have to run `configure' with sh5, bash, or ksh,
  12. e.g., `sh5 configure'; `sh' doesn't work.
  13.  
  14. If you want to compile in a different directory from the one
  15. containing the source code, `cd' to that directory and run `configure'
  16. with the option `--srcdir=DIR', where DIR is the directory that
  17. contains the source code.  The object files and executables will be
  18. put in the current directory.  This option only works with versions of
  19. `make' that support the VPATH variable.  `configure' ignores any other
  20. arguments you give it.
  21.  
  22. If your system requires unusual options for compilation or linking
  23. that `configure' doesn't know about, you can give `configure' initial
  24. values for variables by setting them in the environment; in
  25. Bourne-compatible shells, you can do that on the command line like
  26. this:
  27. $ CC='gcc -traditional' LIBS=-lposix ./configure
  28.  
  29. 2.  If you want to change the directories where the programs and their
  30. documentation will be installed, or the optimization options, edit
  31. `Makefile' and change those values.  If you have an unusual system
  32. that needs special compilation options that `configure' doesn't know
  33. about, and you didn't pass them in the environment when running
  34. `configure', you should add them to `Makefile' now.  Alternately,
  35. teach `configure' how to figure out that it is being run on a system
  36. where they are needed, and mail the diffs to the address listed at the
  37. end of this file so we can include them in the next release.
  38.  
  39. 3.  In the top-level directory, type `make'.  You don't need to
  40. otherwise touch the Makefiles in the subdirectories or use them
  41. directly.
  42.  
  43. 4.  If the programs compile successfully, type `make install' to
  44. install them and their documentation.
  45.  
  46. 5.  After you have installed the programs and documentation, you can
  47. remove the binaries from the source directories by typing `make
  48. mostlyclean'.  Or type `make clean' instead if you also want to remove
  49. the Makefiles that `configure' created, for instance if you are going
  50. to recompile the utilities next on another type of machine.
  51.  
  52.  
  53. Other things to note:
  54.  
  55. The textutils are intended to be POSIX compliant (with BSD and other
  56. extensions), like the rest of the GNU system.  They are not all quite
  57. there yet; however, the POSIX shell and utilities standard (1003.2)
  58. has not been finalized, either.  They presently don't support
  59. internationalization features.
  60.  
  61. The comprehensive Texinfo documentation for these programs is not
  62. finished yet, and needs to be rewritten.  In the interim, the skeletal
  63. man pages provided with this distribution will have to serve.
  64.  
  65. Although these programs have no `-V' or `--version' option, you can
  66. check which version you have by using `grep' or `strings -' on the
  67. binaries, e.g., `grep textutils /usr/local/bin/fold'.
  68.  
  69. The file `configure.in' is a template for creating `configure' using
  70. m4 macros (which will eventually be distributed, separately, under the
  71. name `autoconf').  It is probably needed only if you want to update
  72. `configure' using a newer version of autoconf.
  73.  
  74. Mail suggestions and bug reports for these programs to
  75. bug-gnu-utils@prep.ai.mit.edu.
  76.